package org.jdbcparser.rules;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;


@XmlType(propOrder = { "iterators", "tables" }, name = "jdbcparser")
@XmlRootElement(name = "jdbcparser")
public class RulesJDBCParser {
	
	private List<RulesIterator> iterators = new ArrayList<RulesIterator>();
	private List<RulesTable> tables = new ArrayList<RulesTable>();

	@XmlElementWrapper(name = "iterators")
	@XmlElement(name = "iterator")
	public List<RulesIterator> getIterators() {
		return iterators;
	}

	public void setIterators(List<RulesIterator> iterators) {
		this.iterators = iterators;
	}

	@XmlElementWrapper(name = "tables")
	@XmlElement(name = "table")
	public List<RulesTable> getTables() {
		return tables;
	}

	public void setTables(List<RulesTable> tables) {
		this.tables = tables;
	}

}
